﻿// ***********************************************************************
// Assembly         : SecurityLayer
// Author           : LJO+01 (Laurent Jordi)
// Created          : 06-05-2013
// Last Modified By : LJO+01 (Laurent Jordi)
// Last Modified On : 06-05-2013
// ***********************************************************************
// <copyright file="ForgotPasswordModel.cs" company="Copyright © Innovacall 2011">
//     Copyright (c) Copyright © Innovacall 2011. All rights reserved.
// </copyright>
// <summary></summary>
// ***********************************************************************
using System.ComponentModel.DataAnnotations;
using InnovaApp.Layers.ResourcesLayer.Properties;
using INNOVACALL.Framework.Common.MVCHelpers.Localization;
namespace InnovaApp.Layers.SecurityLayer.Models.ViewModels._LayoutViewModels
{
    /// <summary>
    /// Class ForgotPassword_ViewModel
    /// </summary>
    public class ForgotPassword_ViewModel : InnovaApp.Layers.CommonLayer.Models.ViewModels.LayoutViewModels._LayoutViewModels_Base
    {
        /// <summary>
        /// Gets or sets the E mail address.
        /// </summary>
        /// <value>The E mail address.</value>
        [DataType(DataType.EmailAddress)]
        [DataAnnotationsExtensions.Email]
        [Required(ErrorMessageResourceName = "ErrMsgRequired", ErrorMessageResourceType = typeof(InnovaApp.Layers.ResourcesLayer.Properties.Resources))]
        [DisplayNameLocalizedEntityAttribute(typeof(Resources), "ForgotPassword", "EMailAddress", "EMailAddress")]
        public string EMailAddress { get; set; }

        /// <summary>
        /// Initializes a new instance of the <see cref="ForgotPassword_ViewModel"/> class.
        /// </summary>
        public ForgotPassword_ViewModel()
        {
            this.EMailAddress = string.Empty;
        }
    }
}
